/* pages/SpellGroupDetails/spell-group-details.wxss */

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

.top-box {
  position: relative;
  background: #fff;
  border-bottom: 15rpx solid #f2f2f2;
  height: 370rpx;
  overflow: hidden;
}

.top-bg {
  width: 100%;
  height: 450rpx;
  border-radius: 50%;
  position: relative;
  /* left: -27%; */
  top: -135px;
  color: #fff;
  text-align: center;
  line-height: 100px;
  transform: scaleX(2);
  z-index: 1;
  background: -webkit-linear-gradient(to left, #ff4f47, #fc3060); /* Safari 5.1 - 6.0 */
  background: -o-linear-gradient(to right, #ff4f47, #fc3060); /* Opera 11.1 - 12.0 */
  background: -moz-linear-gradient(to right, #ff4f47, #fc3060); /* Firefox 3.6 - 15 */
  background: linear-gradient(to right, #ff4f47, #fc3060); /* 标准*/
  overflow: hidden;
}

/* 商品内容 */

.goods-content {
  position: absolute;
  top: 60rpx;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  margin: 0 auto;
  padding: 15rpx;
  z-index: 11;
  background: #fff;
  border-radius: 15rpx;
  box-shadow: 0 7rpx 12rpx 0 #e9e9e9;
}

.goods-img-box {
  display: inline-block;
  width: 200rpx;
  height: 200rpx;
  margin-right: 20rpx;
  background: #eee;
  vertical-align: middle;
  border-radius: 10rpx;
}

.goods-img {
  width: 100%;
  height: 100%;
}

.goods-msg {
  display: inline-block;
  height: 100%;
  vertical-align: top;
  font-size: 28rpx;
}

.goods-title {
  display: inline-block;
  width: 400rpx;
  display: -webkit-box;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.goods-price {
  position: relative;
  top: 50rpx;
}

.spell-group-price {
  color: red;
  margin-right: 0.5em;
  font-size: 30rpx;
}

.original-price {
  font-size: 23rpx;
  text-decoration: line-through;
  color: #888;
}

/* 拼团规则 */

.tips-text {
  font-size: 28rpx;
  position: absolute;
  bottom: 0.2em;
  width: 85%;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  display: flex;
  align-items: center;
}
.tips-text .tips-text-cnt {
  max-width: 90%;
}

.thumb-icon {
  display: inline-block;
  width: 20rpx;
  height: 20rpx;
  margin-right: 15rpx;
}

.right-arrow-icon {
  width: 25rpx;
  height: 25rpx;
}

/* 下方 */

.condition {
  padding-top: 1em;
  background: #fff;
  font-size: 28rpx;
  text-align: center;
}

/* 剩余时间 */

.time-remaining {
  position: relative;
  text-align: center;
}

.time-text {
  padding: 0 3em;
  color: #fd3852;
  position: relative;
}

.line-left,
.line-right {
  position: absolute;
  display: inline-block;
  top: 50%;
  transform: translateX(-50%);
  width: 3em;
  height: 5rpx;
  background-color: #fd3852;
}

.line-left::before,
.line-right::before {
  content: ' ';
  display: block;
  position: absolute;
  top: -2rpx;
  right: -20rpx;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff6d13;
}
.line-right::before {
  right: unset;
  left: -20rpx;
}

.countdown {
  text-align: center;
  padding: 1em 0;
  color: #fd3852;
}

.time-number {
  background: #fd3852;
  color: #fff;
  border-radius: 8rpx;
  padding: 0 4rpx;
}

/* 人员 */

.member {
  height: 120rpx;
  overflow: hidden;
  display: inline-block;
  margin: 20rpx 0;
  padding-left: 20rpx;
}

.captain,
.group-member {
  display: inline-block;
  position: relative;
  width: 120rpx;
  height: 120rpx;
  z-index: 99;
}

.captain-img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 4rpx solid #fd3852;
  border-radius: 50%;
}

.status {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  font-size: 23rpx;
  background: #fd3852;
  color: #fff;
  border-radius: 10rpx;
  width: auto;
  padding: 0 10rpx;
  word-break: keep-all;
}
/* .group-member {
  left: -1em;
  z-index: 2;
} */

.group-member-img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 3rpx dashed #fd3852;
  border-radius: 50%;
}

.group-member:last-child {
  left: -2em;
  z-index: 1;
}

.view-all {
  color: #fd3852;
  border: 1px solid #fd3852;
  width: 7em;
  margin: 0 auto;
  border-radius: 30rpx;
  padding: 0.2em 0;
  font-size: 22rpx;
  margin-bottom: 1.5em;
}

.invite-text {
  margin: 1em 0;
  font-size: 28rpx;
}

.invite-text > text {
  color: #fd3852;
}

.display {
  display: none;
}

/* 立即参团 */

.join-now,
.check-order {
  box-sizing: border-box;
  width: 85%;
  margin: 1.5em auto;
  border-radius: 50rpx;
  font-size: 27rpx;
}

.join-now {
  color: #fff;
  height: 80rpx;
  line-height: 80rpx;
  background: -webkit-linear-gradient(to left, #ff4f47, #fc3060); /* Safari 5.1 - 6.0 */
  background: -o-linear-gradient(to right, #ff4f47, #fc3060); /* Opera 11.1 - 12.0 */
  background: -moz-linear-gradient(to right, #ff4f47, #fc3060); /* Firefox 3.6 - 15 */
  background: linear-gradient(to right, #ff4f47, #fc3060); /* 标准*/
  border: 0;
  padding: 0;
}
.join-now::after {
  border: 0;
}

.check-order {
  border: 1px solid #fd3852;
  color: #fd3852;
  padding: 0.7em 0;
}

/* 弹框 */

/*模态框*/

.modals {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.modals-cancel {
  position: absolute;
  z-index: 190;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.bottom-dialog-body {
  position: absolute;
  z-index: 200;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  background-color: #fff;
}

/*动画前初始位置*/

.bottom-pos {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

/* 上部内容 */

.top-content {
  position: relative;
  border-bottom: 1px solid #f2f2f2;
  font-size: 25rpx;
}

.top-content-img-box {
  position: absolute;
  top: -25rpx;
  width: 150rpx;
  height: 150rpx;
  background: #f2f2f2;
  margin-left: 30rpx;
}

.top-content-img-box > image {
  width: 100%;
  height: 100%;
}

.goods-msg-box {
  position: relative;
  margin-left: 200rpx;
  margin-bottom: 1em;
  margin-top: 0.3em;
}

.goods-names {
  line-height: 2em;
  color: #000;
  width: 85%;
}

.group-tips {
  font-size: 20rpx;
  color: #fd3852;
  padding: 0.3em 0;
  padding-top: 0;
}

.goods-prices {
  font-size: 30rpx;
  color: #fd3852;
  margin-top: 5rpx;
}

.rmb-symbol {
  margin-right: 0.5em;
}

.close-btn {
  position: absolute;
  display: block;
  right: 20rpx;
  top: 10rpx;
  width: 35rpx;
  height: 35rpx;
  /* background: url("https://mall-1312577323.cos.ap-chengdu.myqcloud.com/mall/icon/close.png");
  background-size: 100% 100%; */
  z-index: 250;
}

.close-btn > image {
  width: 100%;
  height: 100%;
}

/* sku字体 */

.sku-text {
  position: relative;
  padding: 1em;
  font-size: 25rpx;
  border-bottom: 1px solid #f2f2f2;
}

/* 数量选择 */

.quantity {
  position: relative;
  padding: 1em;
  font-size: 25rpx;
  border-bottom: 1px solid #f2f2f2;
}

.left-text {
  line-height: 1.5em;
}

.left-text-bottom {
  font-size: 20rpx;
  color: #bbb;
}

/* choose-quantity */

.right-choose {
  position: absolute;
  right: 1em;
  top: 1em;
}

.subtract,
.show-num,
.add {
  display: inline-block;
  background: #f5f5f5;
  color: #cfcfcf;
  padding: 7rpx 18rpx;
}

.show-num {
  margin: 0 3rpx;
}

.add {
  padding: 7rpx 12rpx;
}

.current-state {
  background: #ebebeb;
  color: #6d6d6e;
}

/* 确认按钮 */

.confirm-btn {
  width: 100%;
  font-size: 27rpx;
  padding: 0.8em 0;
  color: #fff;
  background: #f44;
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 200rpx;
}

.more-ellipsis {
  font-size: 50rpx;
  color: #aaaaaa;
}
